package com.laputa.model;

public class User{

	//TODO: add city & other info
	private Long id;
	private String name;
	private String email;
	private Long city;

	/** default constructor */
	public User(com.laputa.dao.model.User user) {
		this.id = user.getId();
		this.name = user.getName();
		this.email = user.getEmail();
		this.city = user.getCity();	
	}
	
	/** minimal constructor */
	public User(String name, String email) {
		this.name = name;
		this.email = email;
	}

	/** full constructor */
	public User(String name, String email, Long city) {
		this.name = name;
		this.email = email;
		this.city = city;
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Long getCity() {
		return this.city;
	}

	public void setCity(Long city) {
		this.city = city;
	}

}